package com.lezhi.socialgram.mapper.sys;

import com.lezhi.socialgram.model.sys.UserHobby;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created by daizhen on 2017/4/14.
 */
@Mapper
public interface UserHobbyMapper {

    int createUserHobbyTable(@Param("table") String table);

    int insertUserHobby(UserHobby userHobby);

    int updateUserHobby(UserHobby userHobby);

    UserHobby queryUserHobbyById(UserHobby userHobby);
}
